﻿using System;
using System.Collections.Generic;
using System.Text;
using Slippor.Douban.Radio.Assist;
using System.Xml;

namespace RollCallTrackerPlugin
{
    class RollCallQuestion
    {
        internal RollCallQuestion(XmlElement element)
        {
            _content = element.Attributes["content"].InnerText;
            _id = element.Attributes["id"].InnerText;
            _author = element.Attributes["author"].InnerText;
            _comment = element.Attributes["comment"].InnerText;
        }

        private String _content = String.Empty;

        public String Content
        {
            get { return _content; }
            set { _content = value; }
        }

        private Song _answer;

        public Song Answer
        {
            get { return _answer; }
            set { _answer = value; }
        }

        private String _description = String.Empty;

        public String Description
        {
            get { return _description; }
            set { _description = value; }
        }

        private String _id = String.Empty;

        public String ID
        {
            get { return _id; }
            set { _id = value; }
        }

        private String _author = String.Empty;

        public String Author
        {
            get { return _author; }
            set { _author = value; }
        }

        private String _comment = String.Empty;

        public String Comment
        {
            get { return _comment; }
            set { _comment = value; }
        }
    }
}
